#!/usr/bin/env bash
##!/usr/bin/env bash
#
#path='/home/tsl/'
#filelist=`ls $dir $path`
#
#for file in $filelist:
#do
#    echo `du -sh $path$file`
#done

#hostname=$1
#filestr="cat /mnt/data/people/checklabel/aaa | grep "10.49.16.6""
#echo $filestr
#if[$filestr=0]:then
#echo "$hostname">>10.49.12.135/tmp/vgent_nottrue



for line in `cat "/etc/aaa"`
do
    echo $line
    if [ "$line" = "10.49.16.6" ];then
        echo "[ = ]"
    else
        echo "$line"
        echo "$hostname">>10.49.12.135/tmp/vgent_nottrue
        echo "xxx">>10.49.12.135/tmp/vgent_nottrue
        echo "yyy">>10.49.12.135/tmp/vgent_nottrue

    fi
done